import { GithubOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-components';
import React from 'react';

const links = [
  {
    key: 'weibo',
    title: '微博',
    href: 'https://weibo.com/u/6350255163',
    blankTarget: true,
  },
  {
    key: 'simCard',
    title: '手机卡',
    href: 'https://hk.94haoka.com/index?k=WHoyR2U2K1RoeEk9',
    blankTarget: true,
  },
  {
    key: 'github',
    title: <GithubOutlined />,
    href: 'https://github.com/zdk0522',
    blankTarget: true,
  },
  {
    key: 'icp',
    title: '豫ICP备2024081059号-1',
    href: 'https://beian.miit.gov.cn/',
    blankTarget: true,
  },
];

const Footer: React.FC = () => {
  return (
    <DefaultFooter
      style={{ background: 'none' }}
      links={links}
    />
  );
};

// @ts-ignore
export default Footer;
